package com.dlc.shop.systemtest.data.amount;

import com.dlc.shop.bean.model.OfflineHandleEvent;
import com.dlc.shop.bean.param.OfflineHandleEventAuditParam;

/**
 * @author lpj
 */
public class OfflineHandleEventData {

    public static OfflineHandleEvent getOfflineHandleEvent(Long eventId, Long handleId, String reason){
        OfflineHandleEvent offlineHandleEvent = new OfflineHandleEvent();
        offlineHandleEvent.setEventId(eventId);
        offlineHandleEvent.setHandleId(handleId);
        offlineHandleEvent.setOfflineReason(reason);
        return offlineHandleEvent;
    }

    public static OfflineHandleEventAuditParam getOfflineHandleEventAuditParam(Long eventId, Integer eventItemId, Long handleId, String reason, Integer status){
        OfflineHandleEventAuditParam offlineHandleEventAuditParam = new OfflineHandleEventAuditParam();
        offlineHandleEventAuditParam.setEventId(eventId);
        offlineHandleEventAuditParam.setEventItemId(eventItemId);
        offlineHandleEventAuditParam.setHandleId(handleId);
        offlineHandleEventAuditParam.setRefuseReason(reason);
        offlineHandleEventAuditParam.setStatus(status);
        return offlineHandleEventAuditParam;
    }
}
